<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="toc.html">
<LINK REL="Prev" HREF="821AddingguidelinestoPiePlots.html">
<LINK REL="Next" HREF="823Explodingpieslices.html">
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
A { text-decoration: none }
--></STYLE>
</HEAD>
<BODY>
<A HREF="toc.html">Contents</A>
<A HREF="821AddingguidelinestoPiePlots.html">Previous</A>
<A HREF="823Explodingpieslices.html">Next</A>
<HR NOSHADE>
<H3><A NAME="8_2_2">8.2.2 Creating 3D pie plots</A></H3>
<P> So far we have only made use of 2D pie plots, creating 3D pie plots
 is no more difficult. Instead of creating the plots with a call to
 PiePlot() you create the plots with a call to <A href="../ref/PiePlot3D.html#_C_PIEPLOT3D">
 PiePlot3D()</A> If we just take the first simple pie plot and replace
 the call to PiePlot() with a call to PiePlot3D() we get the following
 result.<DIV class="example">
<BR> <A href="exframes/frame_example27.html" target="blank"><IMG border="0"
HEIGHT="200"       src="img/img/img/img/img/img/example27.png" WIDTH="300"></A>
<BR><B>Figure 127:</B> A first example of a 3D pie plot <A href="exframes/frame_example27.html"
target="blank">[src]</A>&nbsp;
<P></P>
</DIV></P>
<P> 3D Pie plots have the same possibilities as the normal pie plots
 with the added twist of a 3:rd dimension. You can adjust the
 perspective angle with the method <A href="../ref/PiePlot3D.html#_PIEPLOT3D_SETANGLE">
 SetAngle()</A> So for example to make the pie more &quot;flat&quot; you just set
 it to a smaller angle. Setting the perspective angle to 20 degrees in
 the previous example will give the following result.<DIV class="example">
<BR> <A href="exframes/frame_example27.1.html" target="blank"><IMG border="0"
HEIGHT="200"       src="img/img/img/img/img/img/example27.1.png" WIDTH="300"></A>
<BR><B>Figure 128:</B> Adjusting the perspective angle <A href="exframes/frame_example27.1.html"
target="blank">[src]</A>&nbsp;
<P></P>
</DIV></P>
<P></P>
<HR NOSHADE>
<A HREF="toc.html">Contents</A>
<A HREF="821AddingguidelinestoPiePlots.html">Previous</A>
<A HREF="823Explodingpieslices.html">Next</A>
</BODY>
</HTML>
